<?php /* Smarty version 2.6.18, created on 2009-10-28 22:40:10
         compiled from systemPM_popup.tpl */ ?>
<form method="POST" action="/admin/systemPMAdd">
	<div id="drag_bar" class="blue"><h2 class="dotted">Price Management</h2></div>
	<table>
		<tr>
			<td>
				<input type="hidden" name="hid" value="<?php echo $this->_tpl_vars['organism'][0]['organism_id']; ?>
">
				<label>Organism Name</label>
			</td>
			<td>
				<label><?php echo $this->_tpl_vars['organism'][0]['name']; ?>
</label>
			</td>
		</tr>
		<tr>
			<td><label>Sale Unit</label></td>
			<td><input type="text" name="sale_unit" value="<?php echo $this->_tpl_vars['organism'][0]['sale_unit']; ?>
"></td>
		</tr>
		<tr>
			<td><label>Default Inventory Cost</label></td>
			<td><input type="text" name="default_inventory_cost" value="<?php echo $this->_tpl_vars['organism'][0]['default_inventory_cost']; ?>
"></td>
		</tr>
		<tr>
			<td><label>Default Base Price Sale</label></td>
			<td><input type="text" name="default_base_price_sale" value="<?php echo $this->_tpl_vars['organism'][0]['default_base_price_sale']; ?>
"></td>
		</tr>
		<tr>
			<td><label>Currency</label></td>
			<td>
				<select name="currency_mark">
					<?php $_from = $this->_tpl_vars['currencies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['currency']):
?>
						<option value="<?php echo $this->_tpl_vars['currency']['name']; ?>
" 
							<?php if ($this->_tpl_vars['organism'][0]['currency_mark'] == $this->_tpl_vars['currency']['name']): ?>
								selected
							<?php endif; ?>>
							<?php echo $this->_tpl_vars['currency']['currency_mark']; ?>

						</option>
					<?php endforeach; endif; unset($_from); ?>
				</select>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<input type="submit" value="Save">
				<input type="button" value="Cancel" onclick="popup('popUpDiv');">
			</td>
		</tr>
	</table>
</form>